package json;

import com.pojo.Student;

public class TestProcess {
    public static void doProcess(Student student) {
       student= new Student(100, "zhangsan", "guangzhou");
       student.setName("beijing");
       student.setStudent(getStudent());
    }
    
    public static void main(String[] args) {
        Student student = new Student();
        doProcess(student);
        System.out.println(student.getName());
        System.out.println(student.getStudent().toString());
    }
    
    public static Student getStudent(){
        
        return new Student(190,"zhangsan", "nanjing");
    }
}
